package com.seeyon.apps.yxxt.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.seeyon.apps.yxxt.dao.Formmain53375Dao;
import com.seeyon.apps.yxxt.po.Formmain5337;
import com.seeyon.ctp.util.DBAgent;

public class Formmain53375DaoImpl implements Formmain53375Dao {

	@SuppressWarnings("unchecked")
	@Override
	public List<Formmain5337> Formmain5337List(String voucherId) {
		Map<String, Object> params = new HashMap<String, Object>(2);
		params.put("voucherId", voucherId);
		List<Formmain5337> results = DBAgent.find("select ID,field0001,field0002 from Formmain5337 where field0002=:voucherId", params);
		return results;
	}

	@Override
//    @Transactional
	public void insertFormmain5337(Formmain5337 formmain5337) {
		DBAgent.save(formmain5337);
	}

}
